/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * <p>Project: jse2302 - T
 * <p>Powered by webrx On 2023-06-12 15:26:42
 * <p>Created by IntelliJ IDEA
 *
 * @author  webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T {
    public static void main(String[] args) {
        ExecutorService es = Executors.newCachedThreadPool();
        for (int i = 0; i < 3; i++) {
            es.execute(() -> {
                Thread t = Thread.currentThread();
                System.out.println(t.getName());
                System.out.println(t.getPriority());
            });
        }
    }
}
